<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script type="text/javascript"  th:src="@{/js/jquery-1.9.1.min.js}"></script>
    <title>Document</title>
    <style>
        /* 版心 */
        .wrapper
        {
            width: 1200px;
            margin: 0 auto;
        }
        /* 清除浮动 */
        .clearfix::before,.clearfix::after
        {
            content: "";
            display: table;
        }
        .clearfix::after
        {
            clear: both;
        }
        /* 去除li前面的小点 */
        li
        {
            list-style: none;
        }
        /* 去除链接的下划线 */
        a
        {
            text-decoration: none;
        }
        body{
            /*background-image: url(./picture/背景图.jpg);*/
            background-size: 112%;
        } 
        .box{
            float: right;
            margin: 240px 100px 0 0;
            width: 600px;
            height: 400px;
            background-color:white;
            border: 1px solid black;
            border-radius: 15px;
        }
        .top{
            width: 600px;
            height: 75px;
            background-color: rgb(28,205,170);
            text-align: center;
            font: normal 500 27px 楷体;
            color: white;
            border-radius:15px 15px 0 0;
        }
        .box .top span{
            float: left;
            margin: 22px 0 0 130px ;
        }
        .box .center .text1 {
            float: left;
            margin:15px 100px ;
            height: 50px;

        }
        .box .center input{
            margin: 30px 10px ;
            padding-left: 5px;
            width: 300px;
            height: 35px;
            outline: none;
            background-color:white;
            border: 1px solid black;
        }
        .box .center .text2 {
            float: left;
            margin: 15px 100px ;
            height: 50px;
        }
        .box .center img{
            float: left;
            margin: 35px 12px;
        }
        .box .bottom .input1{
            float: left;
            margin: 70px 0 0 165px;
            width: 100px;
            height: 40px;
            background-color: rgb(245,123,110);
            color: white;
        }
        .box .bottom .input2{
            float: left;
            margin: 70px 0 0 105px;
            width: 100px;
            height: 40px;
            background-color: rgb(245,123,110);
            color: white;
        }
    </style>
</head>
    <body th:style="'background:url('+'/picture/背景图.jpg'+')  no-repeat;'">
        <div class="box">
            <div class="top">
                <span>欢迎进入订餐后台管理平台</span>
            </div>
            <div class="center">
                <form  th:action="@{/sys/login}">
                    <div class="text1">
                        <img th:src="${'/picture/touxiang.jpeg'}" alt="">
                        <input id="name" name=name type="text" placeholder="请输入用户名">

                    </div>
                    <div class="text2">
                        <img th:src="${'/picture/密码.jpeg'}" alt="">
                        <input id="userkey" name="userkey" type="password" placeholder="请输入密码">
                    </div>
                    <div class="bottom">
                        <button id="btn"  class="input1" value="登录"  type="submit">登录</button>
                        <button class="input2" type="button" value="退出" >退出</button>

                    </div>
                </form>
            </div>

        </div>
    </body>
</html>